<template>
  <Page
    v-show="dataCount"
    :total="dataCount"
    :page-size="pageSize"
    show-total
    @on-change="changePage">
  </Page>
</template>
<script>
import {
  mapState,
  mapActions
} from 'vuex'
export default {
  name: 'TablePage',
  props: {
    dataCount: '',
    pageSize: ''
  },
  computed: {

  },
  methods: {
    changePage (index) {
      this.$emit('change-page', index)
    }
  }
}
</script>
